home *** CD-ROM | disk | FTP | other *** search
- Path: howland.reston.ans.net!psinntp!psinntp!psinntp!psinntp!usenet
- From: grantp@usa.pipeline.com
- Newsgroups: comp.lang.c++
- Subject: Re: ERROR, Please HELP me
- Date: 24 Mar 1996 20:28:06 GMT
- Organization: Kalevi, Inc.
- Message-ID: <4j4b8m$fj0@news1.h1.usa.pipeline.com>
- References: <31558C94.44B1@prometheus.hol.gr>
- NNTP-Posting-Host: 38.8.61.12
- X-PipeUser: grantp
- X-PipeHub: usa.pipeline.com
- X-PipeGCOS: (Pete Grant)
- X-Newsreader: Pipeline v3.5.0
-
- On Mar 24, 1996 19:55:32 in article <ERROR, Please HELP me>, 'john
- <vjohn@prometheus.hol.gr>' wrote:
-
-
- >I have this class ...
- >
- >Class MyDialog : TDialog
- >{
- >public :
- >MyDialog(TWindows* aParent) :: TDialog(aParend, "MyDialog_RC")
- >{
- >}
- >}
- >
- >and I call MyDialog class ...
- >
- >(new MyDialog(this))->Execute());
- >
- >Is correct ?????
- >
- >When BC++ is loaded no error occurs.
- >
- >I close BC++(4.5), I run the program and get the bellow error
- >when call MyDialog Dialog
- >
- >
- > +---------------------------+
- > | Object Windows Exception |
- > +---------------------------+
- > | Execute Fail for window |
- > | Ok to resume ? |
- > | |
- > | YES NO |
- > +---------------------------+
- >
-
- Snipped from the FAQ:
-
- ==============================================================================
-
- Q147: Why does my BC++ Windows app crash when I'm not running the BC45 IDE?
-
-
- If you're using BC++ for a Windows app, and it works ok as long as you have
- the
- BC45 IDE running, but when the BC45 IDE is shut down you get an exception
- during the creation of a window, then add the following line of code to the
-
- InitMainWindow() method of your application ("YourApp::InitMainWindow()"):
-
- EnableBWCC(TRUE);
-
- ==============================================================================
-
-
- --
- Pete Grant
- Kalevi, Inc.
- Software Engineering & development
-